package net.hn.hnms.biz.cockpit.domain.vo;


import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "进尺对比Vo")
public class DistanceCorrelationVo {
    private String distanceDate;
    private String distanceType;
    private Double planDistance;
    private Double actualDistance;

    public Double getPlanDistance() {
        if (planDistance == null) {
            planDistance = 0.00;
        }
        return planDistance;
    }

    public Double getActualDistance() {
        if (actualDistance == null) {
            actualDistance = 0.00;
        }
        return actualDistance;
    }
}
